package com.fsy.its.netty.msg;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 消防状态信息
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class FireStateMsg extends BaseMsg {

    public FireObjectInfo sys; //消防系统

    public FireObjectInfo component; //消防部件

    public byte alarm;         //1-火警，0-无火警，-1-火警复位

    public byte fault;         //1-故障，0-无故障，-1-故障消除

    public byte shield;        //1-屏蔽，0-无屏蔽

    public byte supervise;     //1-监管，0-无监管

    public byte start;         //1-启动（开启），0-停止（关闭）

    public byte feedback;      //1-反馈，0-无反馈

    public byte delay;         //1-延时，0-无延时

    public byte mainPowerFault;  //1-主电故障，0-主电正常

    public byte secondPowerFault;    //1-备电故障，0-备电正常

    public byte busFault;    //1-总线故障，0-总线正常

    public byte manual;        //1-手动状态，0-自动状态

    public byte configChanged;  //1-配置改变，0-无配置改变

    public byte reset;         //1-复位，0-正常
}
